package com.cxs.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * @Project: postman-demo
 * @Author: cxs2014501@163.com
 * @Create: 2022/11/8 13:56
 * @Description:
 **/
@Data
@Component
public class CommonConfig {

    @Value("${env.name}")
    private String envName;

    @Value("${server.port}")
    private Integer port;
}
